//商家服务 小组件
<template>
  <div class="service-bd">
    <!-- 静态标签属性 -->
    <detail-title icon="icon-service" title="商家服务"></detail-title>
    <div class="service-content">
      <p>停车场：{{ service && service.parking ? "有" : "没有" }}</p>
      <p>Wifi：{{ service && service.wifi ? "有" : "没有" }}</p>
    </div>
  </div>
</template>

<script>
import DetailTitle from "./Title";

export default {
  name: "DetailService",
  components: {
    DetailTitle: DetailTitle,
  },
  props: {
    service: Object,
  },
};
</script>

<style lang="scss" scoped>
@import "~styles/mixins.scss";
@import "~styles/variables.scss";

.service-bd {
  @include flex-column;
  margin-top: 0.1rem;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;

  .service-content {
    padding: 0.1rem 0.15rem;
    font-size: 0.14rem;
    line-height: 0.18rem;
    box-sizing: border-box;
  }
}
</style>